gadget: Warn if for_size is too small
authorMatthias Clasen <mclasen@redhat.com>
Fri, 4 Mar 2016 18:43:19 +0000 (13:43 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 4 Mar 2016 18:43:19 +0000 (13:43 -0500)
commit51b83c43898d8ca534b0ee213a8a0f396d976a0a
tree0757abd18eee9b9656b0eb54bd9a6713b538ab0e
parent54858574a3f925b817c7fe4b409326774852ad9c
gadget: Warn if for_size is too small

It does not make sense to pass a for_size into the size allocation
machinery that is smaller than the min-size in that direction.
Warn if it happens, so we can track it down when it occurs.
gtk/gtkcssgadget.c